#include<iostream>
#include<string>
#include"HttpServer.hpp"
#include<memory>
using namespace std;
int main(int argc,char*argv[])
{
    if(argc!=2)
    {
        exit(1);
    }
    uint16_t port=stoi(argv[1]);
    std::unique_ptr<HttpServer> svt(new HttpServer(port));
    svt->Start();

    return 0;
}